import 'package:mobx/mobx.dart';

part 'main_store.g.dart';

class MainStore = _MainStore with _$MainStore;

abstract class _MainStore with Store {
  @observable
  int currentIndex = 0;

  @action
  void changeTab(int index) {
    currentIndex = index;
  }
}
